<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>边框</title>
    <style>
        #box1{
            border-style: solid;
            border-width: 2px;
            border-color: red;
        }
        #box2{
            border-bottom/*允许设置边框的一边*/: 4px dashed green;
        }
        #box3{
            border: deeppink thick/*类似还有 thin medium*/ dotted;
        }
    </style>
</head>
<body>
    <div id="box1">勇气</div>
    <div id="box2">信任</div>
    <div id="box3">勤奋</div>
</body>
</html>